<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">

</head>


<div class="layui-fluid" th:fragment="rankRight(advertList,rankProjectList,typeId,total)">
    <link rel="stylesheet" href="/css/right.css">
    <link rel="stylesheet" href="/css/tag.css">
    <script src="/script/rankRight.js"></script>
<!--    <section class="layui-row right2">-->
<!--        <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6314049399505240"-->
<!--                crossorigin="anonymous"></script>-->
<!--        &lt;!&ndash; 首页右侧 &ndash;&gt;-->
<!--        <ins class="adsbygoogle"-->
<!--             style="display:block"-->
<!--             data-ad-client="ca-pub-6314049399505240"-->
<!--             data-ad-slot="3760901631"-->
<!--             data-ad-format="auto"-->
<!--             data-full-width-responsive="true"></ins>-->
<!--        <script>-->
<!--            (adsbygoogle = window.adsbygoogle || []).push({});-->
<!--        </script>-->
<!--    </section>-->
    <section class="layui-row right" th:if="${not #lists.isEmpty(rankProjectList)}">
        <header class="layui-badge layui-bg-blue article-label rightBtn greenBtn"> 热门排行</header>
        <div class="rankDiv" th:each="pro:${rankProjectList}">
            <div class="project layui-row" >
                <div class="layui-col-md1 idiv">
                    <i class="layui-icon layui-icon-fire i" ></i>
                </div>
                <div class="layui-col-md11 p_title">
                    <a th:text="${pro.title}" th:title="${pro.title}" th:href="'/article/'+${pro.id}" class="showOneRow"></a>
                </div>
                <hr>
            </div>

        </div>
    </section>

    <section class="layui-row right">
        <header class="layui-badge layui-bg-blue article-label rightBtn orangeBtn" >赚钱热词</header>
        <div class="widget2" id="divTags">
            <ul class="widget-box divTags">
                <li th:class="'divTags'+(${iterStat.index}>9?(${iterStat.index}%9):(${iterStat.index}))" th:each="hotKey,iterStat:${hotKeyList}">
                    <a th:href="'/tag/'+${hotKey.labelName}" th:text="${hotKey.labelName}"></a>
                </li>
            </ul>
        </div>
    </section>

    <section class="layui-row right" th:if="advertList != null">
        <header class="layui-badge layui-bg-blue article-label rightBtn">友情赞助</header>
        <div class="wxgzh"  th:each="advert:${advertList}">
            <a th:title="${advert.desc}" th:href="${advert.link}" target="_blank">
             <img th:src="${advert.url}" width="250px" border="10px" th:alt="${advert.desc}" th:title="${advert.desc}"  style="margin-top: 10px">
            </a>
        </div>
    </section>

</div>

</html>